package com.koron.system;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Hello world!
 */
@EnableFeignClients
@EnableAsync
//@EnableBinding(TestChannel.class)
@EnableSwagger2
@EnableTransactionManagement
@ComponentScans({
        @ComponentScan("com.koron.common.core"),
        @ComponentScan("com.koron")
})
@SpringBootApplication
public class SysServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(SysServiceApplication.class, args);
    }
}
